﻿<%@ Page Title="Site Management" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Steve.Site>>" %>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <div class="toolbar">
        <a class="new-document-button" href="/SiteManagement/SiteDetail/">Add Site</a>
    </div> 
    <ul>
    <% foreach(var s in Model) { %>
    <li><%: Html.ActionLink(s.SiteName, "SiteDetail", "SiteManagement", new { id = s.SiteName }, null) %> (<%: s.Authority %>)</li>
    <% } %>
    </ul>
</asp:Content>